package com.hb.znpt.adapter;

import androidx.annotation.NonNull;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.hb.znpt.R;
import com.hb.znpt.bean.LeaseBean;
import com.hb.znpt.bean.LesseeBean;

/**
 * @Description: 描述
 * @Author: houbing
 * @CreateDate: 2021/12/17 14:59
 */
public class LesseeAdapter extends BaseQuickAdapter<LesseeBean, BaseViewHolder> {

    public LesseeAdapter() {
        super(R.layout.layout_item_lessee);
    }

    @Override
    protected void convert(@NonNull BaseViewHolder holder, LesseeBean bean) {
        holder.setText(R.id.tvVillage, bean.getDeptname());
        holder.setText(R.id.tvArea, bean.getFpmj() + "亩");
    }
}
